@import "compass/css3";

.calendar {
  // Module Variables
  $color-red: #c00000;
  $color-grey: #eee;

  // Demo Styles
  min-width: 350px;
  max-width: 75%;
  margin: 1em auto;
  padding: 1em;
  background: $color-grey;
  font-family: arial, helvetica, san-serif;
  box-shadow: 0 0 0.1em rgba(0, 0, 0, 0.5);
  border-radius: 0.2em;
  &:last-child {
    border-top: 6px solid red;
  }
  h1 {
    margin: 0 0 0.4em;
    font-weight: bold;
  }
  .event {
    color: #333;
    display: block;
    padding: 0.1em;
    transition: all 0.25s ease;
    margin-bottom: 0.5em;
    &:hover {
      background: darken($color-grey, 10%);
      text-decoration: none;
      color: black;
    }
  }
  .event_icon {
    width: 3em;
    float: left;
    margin-right: 0.75em;
  }
  .event_month,
  .event_day {
    text-align: center;
  }
  .event_month {
    padding: 0.1em;
    margin-bottom: 0.15em;
    background: $color-red;
    font-size: 0.75em;
    color: white;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
  }
  .event_day {
    border: 1px solid #999;
    background: white;
    color: black;
    font-size: 1.25em;
    font-weight: bold;
    border-bottom-left-radius: 0.1em;
    border-bottom-right-radius: 0.1em;
  }
  .event_title {
    font-size: 1.1em;
    height: 3em;
    display: table-cell;
    vertical-align: middle;
  }
  .btn {
    margin-top: 0.5em;
    width: 100%;
    font-size: 1.5em;
  }
}
